package me.yobol.greentable.dao;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;

import me.yobol.greentable.bean.DishesCommentBean;

/**
 * @author Yobol
 *
 */
public interface IDishesCommentDAO {
	
	public int save(Connection ctn,DishesCommentBean comment) throws SQLException;
	
	public DishesCommentBean delete(Connection ctn,int commentId) throws SQLException;

	public DishesCommentBean get(Connection ctn,int dcId) throws SQLException;
	public List<DishesCommentBean> getByDishesId(Connection ctn,int dishesId) throws SQLException;
}
